Open
Conversation
This enables the appkit template to be used by the Databricks CLI
init-template command. Changes:
- Add databricks_template_schema.json with project_name, sql_warehouse_id,
profile, and app_description properties
- Restructure template to template/{{.project_name}}/ directory format
expected by DAB template system
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add all feature composition variables (dotenv, dotenv_example, app_env, bundle_variables, bundle_resources, target_variables) with empty defaults so the template can be used standalone without features enabled. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add plugin_import and plugin_usage variables with analytics defaults - Rename server.ts to server.ts.tmpl so template variables get processed Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
keugenek
added a commit
to databricks/cli
that referenced
this pull request
Jan 21, 2026
Instead of using the CLI's embedded appkit template (which is out of sync with the SDK), use the template from https://github.com/databricks/appkit. This fixes the getRequestContext API mismatch issue where generated apps use an API that doesn't exist in the @databricks/appkit SDK. See: #4339 Depends on: databricks/appkit#60 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3 tasks
Rename package.json to package.json.tmpl so that {{.project_name}} and
{{.app_description}} variables get processed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
|
hey @keugenek we are not going to use that command any more, the tools should now use the new init template instead |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
databricks_template_schema.jsonto enable the appkit template to be used by the Databricks CLIinit-templatecommandtemplate/{{.project_name}}/format expected by the DAB template systemBackground
The CLI's
experimental aitools tools init-template appcommand needs to use the appkit repo's template instead of its embedded template (which is out of sync with the SDK). This PR adds the required schema file and directory structure.Test plan
🤖 Generated with Claude Code